package com.gjy.kafka.sp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gjy.kafka.sp.entity.MessageTrace;
import org.apache.ibatis.annotations.Param;

/**
 * @author gjy
 * @version 1.0
 * @since 2025-09-07 10:51:44
 */
public interface MessageTraceMapper extends BaseMapper<MessageTrace> {

    /**
     * 根据消息ID查询消息轨迹
     *
     * @param messageId 消息ID
     * @return 消息轨迹信息
     */
    MessageTrace selectByMessageId(@Param("messageId") String messageId);

}
